﻿using GN.Pay.TradeChannel.DefaultImpl;
using GN.Pay.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.TradeChannel.AliPay.Request
{
    /// <summary>
    /// Web支付请求
    /// </summary>
    [Serializable]
    abstract class AWebPayRequest : APayRequest
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="channel"></param>
        /// <param name="order"></param>
        /// <param name="config"></param>
        protected AWebPayRequest(ITradeChannel channel,
            IOrderPayApply order,
            AliPayConfigure config)
            : base(channel, order, config)
        {
            this.Return_Url = config.PayReturnUrl;
        }

        /// <summary>
        /// 页面跳转同步通知页面路径
        /// </summary>
        public string Return_Url { get; set; }
    }
}
